package com.wh.accesscontrol.entity;

import java.util.Date;

public class Stadium {
    private Integer id;

    private Long studentid;

    private Integer stadiumid;

    private Integer type;

    private Date entering;

    private Date departure;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getStudentid() {
        return studentid;
    }

    public void setStudentid(Long studentid) {
        this.studentid = studentid;
    }

    public Integer getStadiumid() {
        return stadiumid;
    }

    public void setStadiumid(Integer stadiumid) {
        this.stadiumid = stadiumid;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getEntering() {
        return entering;
    }

    public void setEntering(Date entering) {
        this.entering = entering;
    }

    public Date getDeparture() {
        return departure;
    }

    public void setDeparture(Date departure) {
        this.departure = departure;
    }

    @Override
    public String toString() {
        return "Stadium{" +
                "id=" + id +
                ", studentid=" + studentid +
                ", stadiumid=" + stadiumid +
                ", type=" + type +
                ", entering=" + entering +
                ", departure=" + departure +
                '}';
    }
}